package com.chen.recruit.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * 角色菜单对象 t_role_menu
 *
 * @author cgy
 * @date 2022-08-20
 */
@Data
public class RoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 中间关系主键
     */
    private Integer id;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 菜单id
     */
    private Integer menuId;

    public RoleMenu(Integer roleId, Integer menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }

}
